from django.contrib import admin
from blog import models


# Register your models here.

class BlogPostAdmin(admin.ModelAdmin):
    list_display = ('title', 'timestamp')


class ImgAdmin(admin.ModelAdmin):
    list_display = ('img_url', 'name')


admin.site.register(models.BlogPost, BlogPostAdmin)
admin.site.register(models.Img, ImgAdmin)
